package com.douding.server.dto;


public class CategoryDto {

    /**
    * id
    */
    private String id;

    /**
    * 父id
    */
    private String parent;

    /**
    * 名称
    */
    private String name;

    /**
    * 顺序
    */
    private Integer sort;

    public String getId() {
    return id;
    }

    public void setId(String id) {
    this.id = id;
    }

    public String getParent() {
    return parent;
    }

    public void setParent(String parent) {
    this.parent = parent;
    }

    public String getName() {
    return name;
    }

    public void setName(String name) {
    this.name = name;
    }

    public Integer getSort() {
    return sort;
    }

    public void setSort(Integer sort) {
    this.sort = sort;
    }


@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
    sb.append(", id=").append(id);
    sb.append(", parent=").append(parent);
    sb.append(", name=").append(name);
    sb.append(", sort=").append(sort);
sb.append("]");
return sb.toString();
}

}